import service from '../utils/request'

//Order___________________________________________________3
//添加订单
export function order_addOrder(obj={}){
    return service.post('api/order/addOrder',obj)
}
//获取确认订单的信息
export function order_confirmOrder(payload){
    return service.get('api/order/confirmOrder',{params:payload})
}
//修改订单的地址
export function updateOrderAddress(obj={}){
    return service.post('api/order/updateOrderAddress',obj)
}
//支付时删除购物车选中的数据
export function order_deleteCartItem(payload){
    return service.get('api/order/deleteCartItem',{params:payload})
}